from xhs.ui_signal import ui_signal

def log(str):
    print(str)
    ui_signal.set_log.emit(str)